package com.jege.jpa.many2many;

import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

/**
 * Created by ange on 2017/2/22.
 */
@Entity
@Table(name = "member")
@PrimaryKeyJoinColumn(referencedColumnName = "id")
public class Member extends User {
    private String address;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
